package net.apexes.demo.codegen.querydsl.entity;


/**
 * UserTemplate. the database table "USER_TEMPLATE"
 */
public class UserTemplate extends net.apexes.demo.codegen.entity.base.EntityBase {

    private static final long serialVersionUID = 1L;

    /**
     * USER_ID
     */
    private String userId;

    /**
     * TEMPLATE_ID
     */
    private String templateId;

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getTemplateId() {
        return templateId;
    }

    public void setTemplateId(String templateId) {
        this.templateId = templateId;
    }

    public void cloneFrom(UserTemplate from) {
        this.userId = from.userId;
        this.templateId = from.templateId;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(super.toString());
        sb.append(",userId=").append(userId);
        sb.append(",templateId=").append(templateId);
        return sb.toString();
    }

    @Override
    public int hashCode() {
        return super.hashCode();
    }

    @Override
    public boolean equals(Object obj) {
        return super.equals(obj);
    }

}

